package com.woniu.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.woniu.pojo.League;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.vo.LeagueDetailVo;
import com.woniu.vo.LeagueQueryVo;
import com.woniu.vo.LeagueSearchVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zbk
 * @since 2022-10-12
 */
public interface LeagueMapper extends BaseMapper<League> {

    IPage<Map<String, Object>> selectSearch(IPage iPage, @Param("vo") LeagueQueryVo leagueQueryVo);

    List<LeagueSearchVo> selectAll();

}
